{template 'header', $template}
<div class="m">
	{template 'side', $template}
	<div class="right">
		{loop $HMAIN $HM $MAIN}
		{template 'main_'.$main_file[$HM], $template}
		{/loop}
	</div>
	<div class="clear"></div>
</div>
{template 'footer', $template}